import request from "@/router/requer.js";

// 个股香草——头部
export function vanilla1(data) {
  return request({
    url: "/api/stock/detail",
    method: "get",
    params: data,
  });
}

// 个股香草——头部
export function detail_data(data) {
  return request({
    url: "/api/stock/detail_data",
    method: "get",
    params: data,
  });
}

// 个股香草——列表树
export function price(data) {
  return request({
    url: "/api/stock/get_more_price",
    method: "get",
    params: data,
  });
}

//头部拖拽
export function save_table_head(data) {
  return request({
    url: "/api/stock/save_user_product_sort",
    method: "post",
    data,
  });
}
// 
export function search(data) {
  return request({
    url: "/api/stock/search",
    method: "post",
    data,
  });
}

export function cycle_and_pro(data) {
  return request({
    url: "/api/stock/cycle_and_pro",
    method: "get",
    data
  });
}


export function call100(params) {
  return request({
    url: "/api/stock/call100",
    method: "get",
    params
  });
}

// /api/stock/cycle_and_pro